package cn.jx.asc.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author lhg
 * @since 2021-06-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_mountain")
@ApiModel(value="Mountain对象", description="")
@AllArgsConstructor
@NoArgsConstructor
public class Mountain implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER)
    private String id;

    private Integer mountainId;

    private Integer airHumidity;

    private Integer airTemperature;

    private Integer soilHumidity;

    private Integer soilTemperature;

    private Integer rainfull;

    private Integer totalInjectionVolume;

    @TableField(fill = FieldFill.INSERT)
    private Date createdTime;


    public Mountain( Integer integer, Integer integer1, Integer integer2, Integer integer3, Integer integer4,Integer integer5,Integer integer6,Date ctime) {
        this.mountainId=integer;
        this.airHumidity=integer1;
        this.airTemperature=integer2;
        this.soilHumidity=integer3;
        this.soilTemperature=integer4;
        this.rainfull=integer5;
        this.totalInjectionVolume=integer6;
        this.createdTime=ctime;
    }
}
